//
//  ContentViewController.m
//  Reader
//
//  Created by cjz on 2016/12/20.
//  Copyright © 2016年 wclwangchenglong. All rights reserved.
//

#import "ContentViewController.h"

@interface ContentViewController ()
{
    UITextView *view;
}
@end

@implementation ContentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    CGRect rect = self.view.bounds;
    rect.origin.y = 0;
    rect.size.height -= 64 + 44;
    view = [[UITextView alloc] initWithFrame:rect];
    view.text = _text;
    view.font = [view.font fontWithSize:24.0];
    view.editable = NO;
    view.scrollEnabled = NO;
    [self.view addSubview:[UIView new]];
    [self.view addSubview:view];

    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
